<!DOCTYPE html>
<html lang="en">
<head>
    <title></title>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width; initial-scale=1">
    <link href="/bootstrap/css/bootstrap.css?ver=1221" rel="stylesheet" type="text/css">
    <link href="/tpl/webetblue/css/total_game.css?version=02011" rel="stylesheet" type="text/css"/>
    <script src="/js/jquery.min.js?ver=0227"></script>
    <script src="/bootstrap/js/bootstrap.min.js"></script>
    <script src="/js/jquery-ui.js"></script>
    <script src="/js/BrowserDetect.js"></script>
    <script language="javascript">

        var game_url = 'a=a&uid=68d1c5213z935q9aini8z37bk&langx=cn&tpl=webetblue&check_code=3d8e1bf3bc&haslobby=Y&MemDefaultPage=1';
        var MemDefaultPage='1';
        var QuickGoldEnable = "N";
        var QuickGoldData = new Array();
        var PlayCode = "SN";
        var tpl = "webetblue";

        function show_game() {
            var game_menu_obj = document.getElementById('game_menu');
            if (game_menu_obj.style.display == 'none') {
                $.ajax({
                    url: "main_frame.jsp?uid=a=a&uid=68d1c5213z935q9aini8z37bk&langx=cn&tpl=webetblue&check_code=3d8e1bf3bc&haslobby=Y&opengame=SB&action=GameStatu",
                    type: "GET",
                    dataType: "html",
                    cache: false,
                    timeout: 20000,
                    error: function (xhr, ajaxOptions, thrownError) {
                        alert("取游戏开关盘资料错误");
                    },
                    success: function (html) {
                        $("#game_menu").html(html);
                        $("#dggame_menu").hide();
                        $("#game_menu").show();

                    }
                });
            } else {
                $("#game_menu").hide();
            }
        }

        function show_dggame() {
            var game_menu_obj = document.getElementById('dggame_menu');
            if (game_menu_obj.style.display == 'none') {
                $.ajax({
                    url: "main_frame.jsp?uid=a=a&uid=68d1c5213z935q9aini8z37bk&langx=cn&tpl=webetblue&check_code=3d8e1bf3bc&haslobby=Y&opengame=SB&action=GameStatu&type=DG",
                    type: "GET",
                    dataType: "html",
                    cache: false,
                    timeout: 20000,
                    error: function (xhr, ajaxOptions, thrownError) {
                        alert("取游戏开关盘资料错误");
                    },
                    success: function (html) {
                        $("#dggame_menu").html(html);
                        $("#game_menu").hide();
                        $("#dggame_menu").show();
                    }
                });
            } else {
                $("#dggame_menu").hide();
            }
        }


        function ReSize_iFrame() {
            var game_type = document.getElementById('new_game').innerHTML;
            if(game_type=="BB"){
                $("#mainFrame").height($(window).height()-115);
            }else if(game_type=='lobby'){
                $("#mainFrame").height($(window).height()-85);
            }else{
                if ($("#mainFrame").contents().find("#hideBar").hasClass('glyphicon-chevron-up')) {
                    $("#mainFrame").height($(window).height());
                }else{
                    $("#mainFrame").height($(window).height()+114);
                }
            }
            var w1=$(window).width()-5;
            if(w1<1250){
                w1=1250;
            }
            $("#mainFrame").width(w1);
            //使用行動裝置瀏覽時，IndexFrame、OrderFrame 高度給定初始值
            if (/(Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini)/i.test(navigator.userAgent)){
                BrowserDetect.init();
                if((BrowserDetect.browser != 'Firefox' && /(Android)/i.test(navigator.userAgent)) || (/(webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini)/i.test(navigator.userAgent))){
                    $("#mainFrame").height($(window).height()*2);
                }
            }
            try{
                var mainFrameObj=document.getElementById("mainFrame").contentWindow;
                var IndexFrameObj=mainFrameObj.document.getElementById("IndexFrame");
                var OrderFrameObj=mainFrameObj.document.getElementById("OrderFrame");
                if (document.getElementById) {
                    if (IndexFrameObj && !window.opera) {
                        if ($("#mainFrame").contents().find("#hideBar").hasClass('glyphicon-chevron-up')) {
                            if (IndexFrameObj.contentDocument && IndexFrameObj.contentDocument.body.offsetHeight) {
                                IndexFrameObj.height =OrderFrameObj.height = $(window).height()-150;
                            }else if(IndexFrameObj.Document && IndexFrameObj.Document.body.scrollHeight) {
                                IndexFrameObj.height=OrderFrameObj.height = $(window).height()-150;
                            }
                        }else{
                            if (IndexFrameObj.contentDocument && IndexFrameObj.contentDocument.body.offsetHeight) {
                                IndexFrameObj.height =OrderFrameObj.height = $(window).height()-36;
                            }else if(IndexFrameObj.Document && IndexFrameObj.Document.body.scrollHeight) {
                                IndexFrameObj.height=OrderFrameObj.height = $(window).height()-36;
                            }
                        }
                    }
                }
            }catch (e){}
            $("#subwinmodal_div").height($(window).height()-200);
        }

        function toPDF() {
            if (confirm("即时备份时间为当日00：00〜23：59，加密密码为会员密码。")) {
                location.href = 'app/account/account_all.jsp?p=QWERTYUWT15YmJvbHNhaCZjYjNmYjFlOGQzPWVkb2Nfa2NlaGMmZXVsYnRlYmV3PWxwdCZOUz1lZG9jX3lhbHAmQlM9ZW1hZyZuYz14Z25hbCZrYjczejhpbmlhOXE1Mzl6MzEyNWMxZDg2PWRpdSZhPWE%253D&action=topdf';
            }
        }


        function show_change_word_win() {
            $("#change_password_content_div").load("/app/user_info/change_password.jsp?p=QWERTYUWT15YmJvbHNhaCZjYjNmYjFlOGQzPWVkb2Nfa2NlaGMmZXVsYnRlYmV3PWxwdCZOUz1lZG9jX3lhbHAmQlM9ZW1hZyZuYz14Z25hbCZrYjczejhpbmlhOXE1Mzl6MzEyNWMxZDg2PWRpdSZhPWE%253D");
            $("#change_password_div").dialog("open");
        }

        var current_time;
        var entrance_content = '';
        var load_time = '';
        var min = '';
        var loop_num = 5;
        var str = '';
        var dArr_info = new Array();
        var http_type = location.protocol;
        var pop_auto_hide=false;


        var dArr = new Array();

        dArr[0] = "qq519.com";

        dArr[1] = "m1.qq519.com";

        dArr[2] = "m2.qq519.com";

        dArr[3] = "m3.qq519.com";

        dArr[4] = "m2.we6688.net";

        dArr[5] = "m3.we6688.net";

        dArr[6] = "m5.we6688.net";

        dArr[7] = "m6.we6688.net";


        for (var i = 0; i < dArr.length; i++) {
            dArr_info[i] = new Array(loop_num);
        }

        function closeQuickGolddModal() {
            $("#QuickGolddModal").modal("hide");
        }

        function hit(i, j) {
            load_time = new Date().getTime();
            dArr_info[i][j] = (load_time - current_time);
            var dArr_total = 0;
            for (var k = 0; k < loop_num; k++) {
                if (dArr_info[i][k] != '') {
                    dArr_total = dArr_total + dArr_info[i][k];
                } else {
                    return;
                }
            }

            document.getElementById('list_' + i).innerHTML = '<font color=#000000>' + (dArr_total / loop_num) + min + '</font>';
            min = '';
        }


        function test_net_speed() {
            min = ' <font color=red>最优 </font>';
            var x = event.x + document.body.scrollLeft;
            var y = event.y + document.documentElement.scrollTop;
            var game = document.getElementById('new_game').innerHTML

            entrance_content = '';
            for (var i = 0; i < dArr.length; i++) {
                entrance_content = entrance_content + "<li><a href='" + http_type + "//" + dArr[i] + "/main_frame.jsp?" + game_url + "&game=" + game + "'><font color=blue>线路" + i + "</font></a> : ";
                entrance_content = entrance_content + "<a id='list_" + i + "' src='" + http_type + "//" + dArr[i] + "/speed.jsp'><font color='grey'>测速中</font></a></li>";
                for (var j = 0; j < loop_num; j++) {
                    dArr_info[i][j] = '';
                    current_time = new Date().getTime();
                    entrance_content = entrance_content + "<img border=0 style='visibility:hidden' height=0 width=0 src='http://" + dArr[i] + "/test2.gif?" + Math.random() + "' onload='hit(" + i + "," + j + ");'>";
                }
            }
            document.getElementById('entrance_content_td').innerHTML = entrance_content;
            $("#result_tb").show();
        }

        function close_test_speed() {
            $("#result_tb").hide();
        }

        function showMenuEditModal() {
            $("#showGameBar").hide();
            $("#editGameBar").show();
            $("#editGameBar").css('display','inline');
            $("#editGameBtnDiv").show();
            $("#showGameBtnDiv").hide();
            $("#edit_menu_btn").hide();
            $("#submit_menu_btn").show();
            $("#cancel_menu_btn").show();
            $("#memo_menu_span").show();
            pop_auto_hide=true;

        }

        function cancelEditGameBar(){
            $("#showGameBar").show();
            $("#editGameBar").hide();
            $("#editGameBtnDiv").hide();
            $("#showGameBtnDiv").show();
            $("#edit_menu_btn").show();
            $("#submit_menu_btn").hide();
            $("#cancel_menu_btn").hide();
            $("#memo_menu_span").hide();
            pop_auto_hide=false;
        }

        function removeGameLink(game_id){
            var count = $("#GameBar_ul").children().length;
            if(count<=1){
                alert("最少要保留一个游戏！");
                return;
            }
            $("#game_link_edit_"+game_id).show();
            $("#game_bar_"+game_id).remove();
        }

        function addGameLink(game_id){
            var count = $("#GameBar_ul").children().length;
            if(count>=10){
                alert("最多可以添加10个游戏！！");
                return;
            }
            var txt3 = document.createElement("a");
            txt3.id="game_bar_"+game_id;
            txt3.className = "btn btn-danger game_menu_move";
            txt3.onclick = function () {
                removeGameLink(game_id);
            };
            txt3.innerHTML=$("#game_name_"+game_id).html()+"<span class=\"glyphicon glyphicon-remove\" aria-hidden=\"true\" style=\"font-size: 10px;\"></span>";
            var temp="<a id='game_bar_"+game_id+"' class='btn ' style='padding-right: 5px; padding-left: 5px;\" href=\"javascript:\" onclick=\"removeGameLink('"+game_id+"');\">";
            $("#GameBar_ul").append(txt3);
            $("#game_link_edit_"+game_id).hide();

        }

        function saveGameMenu(){
            var idsInOrder = $("#GameBar_ul").sortable("toArray");
            //-----------------^^^^
            data="game0="+idsInOrder[0];
            data+="&game1="+idsInOrder[1];
            data+="&game2="+idsInOrder[2];
            data+="&game3="+idsInOrder[3];
            data+="&game4="+idsInOrder[4];
            data+="&game5="+idsInOrder[5];
            data+="&game6="+idsInOrder[6];
            data+="&game7="+idsInOrder[7];
            data+="&game8="+idsInOrder[8];
            data+="&game9="+idsInOrder[9];
            $.ajax({
                type: "POST",
                url: "/app/game_menu_set.php?p=QWERTYUWT15YmJvbHNhaCZjYjNmYjFlOGQzPWVkb2Nfa2NlaGMmZXVsYnRlYmV3PWxwdCZOUz1lZG9jX3lhbHAmQlM9ZW1hZyZuYz14Z25hbCZrYjczejhpbmlhOXE1Mzl6MzEyNWMxZDg2PWRpdSZhPWE%253D",
                data: data,
                success: function(json_obj){
                    if (json_obj.success == "true") {
                        alert("修改成功");
                        window.location.reload();
                    }
                },
                error: function(){
                    //your code here
                },
                dataType: "json"
            });
        }

        function showGameResult() {
            var url='../../../app/result/resultCC.php?p=QWERTYUWT15YmJvbHNhaCZjYjNmYjFlOGQzPWVkb2Nfa2NlaGMmZXVsYnRlYmV3PWxwdCZOUz1lZG9jX3lhbHAmQlM9ZW1hZyZuYz14Z25hbCZrYjczejhpbmlhOXE1Mzl6MzEyNWMxZDg2PWRpdSZhPWE%253D&g='+$("#game_code").val();
            show_sub_win(url,'开奖结果');
        }
        //判別IE版本
        jQuery.browser = {};
        (function () {
            jQuery.browser.msie = false;
            jQuery.browser.version = 0;
            if (navigator.userAgent.match(/MSIE ([0-9]+)./)) {
                jQuery.browser.msie = true;
                jQuery.browser.version = RegExp.$1;
            }
        })();

        $(document).ready(function () {
            myTimer();
            var isMobile = 0;
            if((/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent))) {
                if(tpl =="hao688"){
                    $("#mobile_ad").attr("src", "/tpl/common/images/ad_threeWeb_mobil.jpg?ver=12221");
                    $("img").css("max-width","100%");
                    $("#modal_position").css("margin-top","80px").css("margin-left","5%");
                    $("#ad_modal").modal("show");
                }else if(tpl =="webet" || tpl =="webetblue") {
                    $("#mobile_ad").attr("src", "/tpl/webet/images/ad_QB_mobile.jpg?ver=0903");
                    $("img").css("max-width","100%");
                    $("#modal_position").css("margin-top","80px").css("margin-left","5%");
                    $("#ad_modal").modal("show");
                } 　else if(tpl == "dt_cash") {
                    $("#mobile_ad").attr("src", "/tpl/dt_cash/images/dt_ad_m.jpg?ver=0820");
                    $("img").css("max-width","100%");
                    $("#modal_position").css("margin-top","80px").css("margin-left","5%");
                    $("#ad_modal").modal("show");
                }else{
                    GetNews();//網站無廣告直接跳公告
                }
                isMobile = 1;
            }else{
                if(tpl =="hao688") {
                    $("#mobile_ad").attr("src", "/tpl/common/images/ad_treeWeb.jpg?ver=12221");
                    $("#ad_modal").modal("show");
                } else if(tpl =="webet" || tpl =="webetblue") {
                    $("#mobile_ad").attr("src", "/tpl/webet/images/ad_QB.jpg?ver=0903");
                    $("#ad_modal").modal("show");
                } else if(tpl == "dt_cash") {
                    $("#mobile_ad").attr("src", "/tpl/dt_cash/images/dt_ad.jpg?ver=0820");
                    $("#ad_modal").modal("show");
                }else{
                    GetNews();//網站無廣告直接跳公告
                }
            }

            $("#ad_modal").click(function () {
                $("#ad_modal").modal('hide');
                GetNews();
            });

            if (MemDefaultPage == "1") {
                change_game('p=QWERTYUMT1lZ2FQdGx1YWZlRG1lTSZCUz1lbWFnbmVwbyZZPXliYm9sc2FoJmNiM2ZiMWU4ZDM9ZWRvY19rY2VoYyZldWxidGViZXc9bHB0JkJTPWVtYWcmbmM9eGduYWwma2I3M3o4aW5pYTlxNTM5ejMxMjVjMWQ4Nj1kaXUmYT1h');//有遊戲大廳
            } else {
                change_game('p=QWERTYUQlM9ZW1hZ25lcG8mWT15YmJvbHNhaCZjYjNmYjFlOGQzPWVkb2Nfa2NlaGMmZXVsYnRlYmV3PWxwdCZCUz1lbWFnJm5jPXhnbmFsJmtiNzN6OGluaWE5cTUzOXozMTI1YzFkODY9ZGl1JmE9YQ%253D%253D');//無遊戲大廳
            }

            ReSize_iFrame();
            $(".pop").popover({
                        trigger: "manual",
                        html: true,
                        animation: false,
                        content: function () {
                            var clone = $($(this).data('popover-content')).clone(true).removeClass('hide');
                            return clone;
                        }
                    })
                    .on("mouseenter", function () {
                        var _this = this;
                        var u = navigator.userAgent;
                        if(isMobile){
                            var scrx = document.body.scrollLeft;
                            var x;
                            objBCR = this.getBoundingClientRect();
                            x = (objBCR.left + scrx);
                            $(this).popover("show");
                            $('.popover').css('left', x + "px");
                        }else{
                            $(this).popover("show");
                        }
                        $(".popover").on("mouseleave", function () {
                            if (!pop_auto_hide) $(_this).popover('hide');
                        });
                    }).on("mouseleave", function () {
                var _this = this;
                setTimeout(function () {
                    if (!$(".popover:hover").length) {
                        if (!pop_auto_hide) $(_this).popover('hide');
                    }
                }, 1000);
            });

            $("#GameBar_ul").sortable();
            $("#GameBar_ul").disableSelection();

            var bk_color = $("#game_link").css('backgroundColor');
            $("ul#GameBarUL").css('background-color', bk_color);
            $("ul#GameBar_ul").css('background-color', bk_color);
        });

        //關閉主視窗時，真人視訊、體育投注彈跳視窗連動關閉
        var GameWin;
        var OpenGameWin = function (URL,GameCode) {
            try {
                GameWin.close();
            }catch (e){}
            if(GameCode == 'BG') {
                openPlayWindow("video_game.php?" + URL);
            }else if(GameCode == 'AG'){
                openPlayWindow("ag_video_game.php?"+URL);
            }else if(GameCode == 'T3'){
                openPlayWindow("sport_game.php?"+URL);
            }
        }
        function openPlayWindow(url) {
            GameWin = window.open(url, 'gameWindow', 'scrollbars=no,resizable=no,width=1200,height=600');
            GameWin.focus();
        }
        $(window).on("unload", function (e) {
            if (GameWin) {
                GameWin.close();
            }
        });

        function GetNews() {
            $.ajax({
                url: '../../../app/marquee_top.php?p=QWERTYUWT15YmJvbHNhaCZjYjNmYjFlOGQzPWVkb2Nfa2NlaGMmZXVsYnRlYmV3PWxwdCZOUz1lZG9jX3lhbHAmQlM9ZW1hZyZuYz14Z25hbCZrYjczejhpbmlhOXE1Mzl6MzEyNWMxZDg2PWRpdSZhPWE%253D&getnum=T',
                type: 'GET',
                error: function (xhr) {
                },
                success: function (num) {
                    if (num > 0) {
                        var url = '../../../app/marquee_top.php?p=QWERTYUWT15YmJvbHNhaCZjYjNmYjFlOGQzPWVkb2Nfa2NlaGMmZXVsYnRlYmV3PWxwdCZOUz1lZG9jX3lhbHAmQlM9ZW1hZyZuYz14Z25hbCZrYjczejhpbmlhOXE1Mzl6MzEyNWMxZDg2PWRpdSZhPWE%253D';
                        document.getElementById('LoginNewsiframe').src = url;
                        $("#LoginNewsModal").modal("show");
                        $("#LoginNewsTitle").html("公告");
                    }
                }
            });
        }


    </script>
    <script language="javascript" src="../js/headersb.js?ver=529"></script>
    <style type="text/css">
        .popover {
            position: absolute;
            top: 0;
            left: 0;
            z-index: 1010;
            display: none;
            max-width: 600px;
            padding: 1px;
            text-align: left;
            white-space: normal;
            background-color: #ffffff;
            border: 1px solid #ccc;
            border: 1px solid rgba(0, 0, 0, 0.2);
            -webkit-border-radius: 6px;
            -moz-border-radius: 6px;
            border-radius: 6px;
            -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
            -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
            -webkit-background-clip: padding-box;
            -moz-background-clip: padding;
            background-clip: padding-box;
        }
        .modal .modal-body {
            max-height: 90%;
            overflow-y: auto;
            overflow-x: auto;
        }
        #modal_position{
            margin-top: 180px;
            margin-left: 210px;
        }

    </style>
</head>
<body style="height: 100%; overflow-x: auto" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onresize="ReSize_iFrame();" class="headbody">


<div style="height:100%;width:100%;position:absolute;top:0px;left:0px;z-index:100;background-color:#333333;filter:alpha(opacity=75);-moz-opacity: 0.75;opacity: 0.75;display:none"
     id="show_back"></div>


<!-- Modal -->
<div id="SubWinModal" class="modal " tabindex="-1" role="dialog" aria-labelledby="classInfo" aria-hidden="true">
    <div class="modal-dialog" style="width: 100%;">
        <!-- Modal content-->
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal">&times;</button>
                <h4 class="modal-title">
                    <div id="SubWinTitle"></div>
                </h4>
            </div>
            <div class="modal-body" style="height: 700px;" id="subwinmodal_div">
                <iframe style="width:100%;height:100%;" frameborder="0" border="0" cellspacing="0"
                        id='sub_iframe'></iframe>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
            </div>
        </div>
    </div>
</div>

<!-- Modal -->
<div id="PassWordModal" class="modal fade" role="dialog">
    <div class="modal-dialog">
        <!-- Modal content-->
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal">&times;</button>
                <h4 class="modal-title">变更密码</h4>
            </div>
            <div class="modal-body">
                <iframe style="width:100%; height: 440px;" frameborder="0" border="0" cellspacing="0"
                        id='PassWordIframe'></iframe>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
            </div>
        </div>
    </div>
</div>

<!-- 快選金額 Modal -->
<div id="QuickGolddModal" class="modal fade" role="dialog">
    <div class="modal-dialog">
        <!-- Modal content-->
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal">&times;</button>
                <h4 class="modal-title">快选金额</h4>
            </div>
            <div class="modal-body">
                <iframe style="width:100%; height: 440px;" frameborder="0" border="0" cellspacing="0"
                        id='QuickGoldframe'></iframe>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
            </div>
        </div>
    </div>
</div>

<!-- Modal -->
<div id="subModal" class="modal fade" role="dialog">
    <div class="modal-dialog" style="width: 90%;">
        <!-- Modal content-->
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal">&times;</button>
                <h4 class="modal-title" id="subModalTitle"></h4>
            </div>
            <div class="modal-body" id="subModalContent">
                <iframe id="subModaliframe" frameborder="0" style="width: 100%; height: 500px;"></iframe>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
            </div>
        </div>

    </div>
</div>

<div id='result_tb'
     style="display:none;font-size:18px;background-color:#FFFFFF;width:300px;height:300px; position: absolute; top:100px; left:300px;border-style: solid;border-width:3px;border-color: #000000">
    <div onclick="close_test_speed();" style="cursor: pointer;padding-left:260px;"><img
            src="/tpl/common/images/close_red.png" width="30" height="30"/></div>
    <div style="padding-left: 10px;">网络侦测:<font color='red'>数值越小网速越好</font></div>
    <div style="padding-left: 10px;" id="entrance_content_td"></div>
    <div style="padding-left: 10px;">您的IP:113.246.154.144</div>
    <div id="new_game" style="display: none"></div>
</div>

<style>
    .navbar-nav {
        float: left;
        margin: 0;
    }
</style>
<div id="headersb" class="img_Head1_01" border="0" cellpadding="0" cellspacing="0" style="min-width: 1253px; width: 100%;">
    <div class="img_Head1_01" style="display:inline-block;float: left"><img src="/tpl/webet/images/member_logo.png?ver=1213" style="width:220px; height: 70px; display:inline-block "/></div>    <div style="width: 80px; float: left;  ">
    <a class="btn btn-danger" style="padding-left: 10px;margin-left: 5px;margin-top: 21px;" href="#" onClick="JavaScript:list2(event);">线路选择</a>
</div>
    <div style="width: 80px; float: left;">
        <a class="btn btn-danger" style="padding-left: 10px;margin-left: 5px;margin-top: 21px;" href="game_room.jsp?p=QWERTYUWT15YmJvbHNhaCZjYjNmYjFlOGQzPWVkb2Nfa2NlaGMmZXVsYnRlYmV3PWxwdCZOUz1lZG9jX3lhbHAmQlM9ZW1hZyZuYz14Z25hbCZrYjczejhpbmlhOXE1Mzl6MzEyNWMxZDg2PWRpdSZhPWE%253D" target="mainFrame">彩票大厅</a>
    </div>
    <div style="width: 50px; float: left;">
        <a class="btn btn-danger" style="padding-left: 10px;margin-left: 5px;margin-top: 21px;" href="javascript:" onclick="show_sub_win('../../../app/account/order_report.php?p=QWERTYUWT15YmJvbHNhaCZjYjNmYjFlOGQzPWVkb2Nfa2NlaGMmZXVsYnRlYmV3PWxwdCZOUz1lZG9jX3lhbHAmQlM9ZW1hZyZuYz14Z25hbCZrYjczejhpbmlhOXE1Mzl6MzEyNWMxZDg2PWRpdSZhPWE%253D','报表');">报表</a>
    </div>
    <div style="width: 60px; float: left;">
        <a class="btn btn-danger" style="padding-left: 10px;margin-left: 5px;margin-top: 21px;" href="javascript:" onclick="show_sub_win('../../../app/account/week_report.php?p=QWERTYUWT15YmJvbHNhaCZjYjNmYjFlOGQzPWVkb2Nfa2NlaGMmZXVsYnRlYmV3PWxwdCZOUz1lZG9jX3lhbHAmQlM9ZW1hZyZuYz14Z25hbCZrYjczejhpbmlhOXE1Mzl6MzEyNWMxZDg2PWRpdSZhPWE%253D','周报表');">周报表</a>
    </div>
    <div style="width: 80px; float: left;">
        <a class="btn btn-danger" style="padding-left: 10px;margin-left: 5px;margin-top: 21px;" href="javascript:" onclick="showGameResult();">开奖结果</a>
    </div>
    <div style="width: 80px; float: left;">
        <ul class="nav navbar-nav">
            <li style="margin-top: 25px;" class="dropdown">
                <a class="dropdown-toggle" data-toggle="dropdown" href="#">个人资讯
                    <span class="caret"></span></a>
                <ul class="dropdown-menu" style="background-color:#ffffff;">
                    <li><a class="btn btn-danger" href="javascript:" onclick="showPasswordModal('../../../app/user_info/change_password.php?p=QWERTYUWT15YmJvbHNhaCZjYjNmYjFlOGQzPWVkb2Nfa2NlaGMmZXVsYnRlYmV3PWxwdCZOUz1lZG9jX3lhbHAmQlM9ZW1hZyZuYz14Z25hbCZrYjczejhpbmlhOXE1Mzl6MzEyNWMxZDg2PWRpdSZhPWE%253D');">变更密码</a></li>
                    <li><a class="btn btn-danger" href="javascript:" onclick="showQuickGoldModal('../../../app/user_info/user_quick_gold.php?p=QWERTYUWT15YmJvbHNhaCZjYjNmYjFlOGQzPWVkb2Nfa2NlaGMmZXVsYnRlYmV3PWxwdCZOUz1lZG9jX3lhbHAmQlM9ZW1hZyZuYz14Z25hbCZrYjczejhpbmlhOXE1Mzl6MzEyNWMxZDg2PWRpdSZhPWE%253D','快选金额');">快选金额</a></li>
                    <li><a class="btn btn-danger" href="javascript:" onclick="show_sub_win('../../../app/user_info/login_info.php?p=QWERTYUWT15YmJvbHNhaCZjYjNmYjFlOGQzPWVkb2Nfa2NlaGMmZXVsYnRlYmV3PWxwdCZOUz1lZG9jX3lhbHAmQlM9ZW1hZyZuYz14Z25hbCZrYjczejhpbmlhOXE1Mzl6MzEyNWMxZDg2PWRpdSZhPWE%253D','登入信息');">登入信息</a></li>
                </ul>
            </li>
        </ul>
    </div>
    <div style="width: 80px; float: left;">
        <a class="btn btn-danger" style="padding-left: 10px;margin-left: 5px;margin-top: 21px;" href="javascript:" onclick="show_sub_win('../../../question_list.jsp?p=QWERTYUWT15YmJvbHNhaCZjYjNmYjFlOGQzPWVkb2Nfa2NlaGMmZXVsYnRlYmV3PWxwdCZOUz1lZG9jX3lhbHAmQlM9ZW1hZyZuYz14Z25hbCZrYjczejhpbmlhOXE1Mzl6MzEyNWMxZDg2PWRpdSZhPWE%253D','系统中心');">系统中心</a>
    </div>
    <div style="float: left;">
        <a class="btn btn-danger" style="padding-left: 10px;margin-left: 5px;margin-top: 21px;" href="../../app/marquee_list.php?p=QWERTYUWT15YmJvbHNhaCZjYjNmYjFlOGQzPWVkb2Nfa2NlaGMmZXVsYnRlYmV3PWxwdCZOUz1lZG9jX3lhbHAmQlM9ZW1hZyZuYz14Z25hbCZrYjczejhpbmlhOXE1Mzl6MzEyNWMxZDg2PWRpdSZhPWE%253D" target="mainFrame">公告</a>
    </div>
    <div style="width: 80px; float: left;">
        <a class="btn btn-danger" style="padding-left: 10px;margin-left: 5px;margin-top: 21px;" href="logout.php?p=QWERTYUWT15YmJvbHNhaCZjYjNmYjFlOGQzPWVkb2Nfa2NlaGMmZXVsYnRlYmV3PWxwdCZOUz1lZG9jX3lhbHAmQlM9ZW1hZyZuYz14Z25hbCZrYjczejhpbmlhOXE1Mzl6MzEyNWMxZDg2PWRpdSZhPWE%253D">登出</a>
    </div>
    <div style="width: 40px; float: left;">
        <a href="main_frame.jsp?p=QWERTYUMT1lZ2FQdGx1YWZlRG1lTSZscHRfZWduYWhjPW5vaXRjYSZCUz1lbWFnJm5jPXhnbmFsJmtiNzN6OGluaWE5cTUzOXozMTI1YzFkODY9ZGl1JmE9YQ%253D%253D&tpl=webet" class="btn" style="background-color: #FF0000;margin-top: 33px;"></a>
    </div>
    <div style=" float: left;">
        <a href="main_frame.jsp?p=QWERTYUMT1lZ2FQdGx1YWZlRG1lTSZscHRfZWduYWhjPW5vaXRjYSZCUz1lbWFnJm5jPXhnbmFsJmtiNzN6OGluaWE5cTUzOXozMTI1YzFkODY9ZGl1JmE9YQ%253D%253D&tpl=webetblue" class="btn" style="background-color: #238ccc;margin-top: 33px;"></a>
    </div>
</div>
<div id ="game_link" class="game_link" style="min-width: 1253px; width: 100%; display: none">
    <input type="hidden" id="game_code" value="123">
    <div id="editGameBar"  style="display: none;">
        <ul id="GameBar_ul" style="float: left;margin-bottom:0px;">
            <a id="game_bar_4" class="btn btn-danger game_menu_move" href="javascript:" onclick="removeGameLink('4');">&#20845;&#21512;&#24425;
                <span class="glyphicon glyphicon-remove" aria-hidden="true" style="font-size: 10px;cursor: pointer;"></span>
            </a>
            <a id="game_bar_48" class="btn btn-danger game_menu_move" href="javascript:" onclick="removeGameLink('48');">WB&#26497;&#36895;&#39134;&#33351;
                <span class="glyphicon glyphicon-remove" aria-hidden="true" style="font-size: 10px;cursor: pointer;"></span>
            </a>
            <a id="game_bar_43" class="btn btn-danger game_menu_move" href="javascript:" onclick="removeGameLink('43');">WB&#26497;&#36895;&#20845;&#21512;&#24425;
                <span class="glyphicon glyphicon-remove" aria-hidden="true" style="font-size: 10px;cursor: pointer;"></span>
            </a>
        </ul>
    </div>

    <div id="showGameBar" style="display:inline;">
        <ul id="GameBarUL" style="float: left;margin-bottom:0px;padding-left:8px;">
            <a class="btn btn-danger" style="padding-right: 5px; padding-left: 5px;" href="javascript:" onclick="change_game('p=QWERTYUQlM9ZW1hZ25lcG8mWT15YmJvbHNhaCZjYjNmYjFlOGQzPWVkb2Nfa2NlaGMmZXVsYnRlYmV3PWxwdCZCUz1lbWFnJm5jPXhnbmFsJmtiNzN6OGluaWE5cTUzOXozMTI1YzFkODY9ZGl1JmE9YQ%253D%253D&action=click','SB');">&#20845;&#21512;&#24425;</a>
            <a class="btn btn-danger" style="padding-right: 5px; padding-left: 5px;" href="javascript:" onclick="change_game('p=QWERTYUQlM9ZW1hZ25lcG8mWT15YmJvbHNhaCZjYjNmYjFlOGQzPWVkb2Nfa2NlaGMmZXVsYnRlYmV3PWxwdCZCUT1lbWFnJm5jPXhnbmFsJmtiNzN6OGluaWE5cTUzOXozMTI1YzFkODY9ZGl1JmE9YQ%253D%253D&action=click','QB');">WB&#26497;&#36895;&#39134;&#33351;</a>
            <a class="btn btn-danger" style="padding-right: 5px; padding-left: 5px;" href="javascript:" onclick="change_game('p=QWERTYUQlM9ZW1hZ25lcG8mWT15YmJvbHNhaCZjYjNmYjFlOGQzPWVkb2Nfa2NlaGMmZXVsYnRlYmV3PWxwdCZTSj1lbWFnJm5jPXhnbmFsJmtiNzN6OGluaWE5cTUzOXozMTI1YzFkODY9ZGl1JmE9YQ%253D%253D&action=click','JS');">WB&#26497;&#36895;&#20845;&#21512;&#24425;</a>
        </ul>
    </div>

    <div  style="display:inline;">
        <a href="#"  class="btn">
            <span class="caret" style="color:#aa893a "></span>
        </a>
    </div>

</div>

<div id="myPopover" class="hide" style="width: 355px;">

    <div id="showGameBtnDiv">
    </div>

    <div id="editGameBtnDiv" style="display: none;">

        <a id="game_link_edit_4" class="btn btn-primary" style="display:none;width: 110px;" href="javascript:" onclick="addGameLink('4');">
            <div id="game_name_4" style="width: 86px; font-size: 13px;float: left;" >
                &#20845;&#21512;&#24425;
            </div>
            <span class="glyphicon glyphicon-plus" aria-hidden="true" style="font-size: 10px;"></span>
        </a>
        <a id="game_link_edit_48" class="btn btn-primary" style="display:none;width: 110px;" href="javascript:" onclick="addGameLink('48');">
            <div id="game_name_48" style="width: 86px; font-size: 13px;float: left;" >
                WB&#26497;&#36895;&#39134;&#33351;
            </div>
            <span class="glyphicon glyphicon-plus" aria-hidden="true" style="font-size: 10px;"></span>
        </a>
        <a id="game_link_edit_43" class="btn btn-primary" style="display:none;width: 110px;" href="javascript:" onclick="addGameLink('43');">
            <div id="game_name_43" style="width: 86px; font-size: 13px;float: left;" >
                WB&#26497;&#36895;&#20845;&#21512;&#24425;
            </div>
            <span class="glyphicon glyphicon-plus" aria-hidden="true" style="font-size: 10px;"></span>
        </a>

    </div>

    <div style="width: 100%; text-align: right">
        <span id="memo_menu_span" style="float: left;display: none;font-weight: bold;">注：已选择的彩种可通<span style="color: #ff0000;">过鼠标拖动</span>改变排列顺序。</span>
        <button id="edit_menu_btn" type="button" class="btn btn-default" onclick="showMenuEditModal();">编辑菜单</button>
        <button id="submit_menu_btn" type="button" class="btn btn-default" style="display: none;" onclick="saveGameMenu();">确定</button>
        <button id="cancel_menu_btn" type="button" class="btn btn-default" style="display: none;" onclick="cancelEditGameBar();">取消</button>
    </div>
</div>
<!--
	遊戲內頁的線路選擇
-->


<!--順風、-->
<div id='result_tb' style="z-index:1000;display:none;width:75%;margin:0 auto;text-align:left;">
    <div style="top:71px;position:absolute;">


        <table width='250' bgcolor='FFFFFF' cellpadding='0' border='0' bordercolor='006699' class='show_net_test'>
            <tr>
                <td height='10'>
                    网络侦测:<font color='red'>数值越小网速越好</font>
                </td>
                <td width='20' align='center'><a href="javascript:" class="symCode" onClick="document.getElementById('result_tb').style.display='none';" style="color:blue;">T</a></td>
            </tr>
            <tr>
                <td id='entrance_content_td' colspan='2'></td>
            </tr>
            <tr>
                <td colspan='2' align='right'>IP:113.246.154.144</td>
                <td id='new_game' colspan='2' style='display:none'></td>   <!--切換遊戲後的gametype -->
            </tr>
        </table>
    </div>
</div>
<script>



    var dArr=new Array();

    dArr[0]="qq519.com";

    dArr[1]="m1.qq519.com";

    dArr[2]="m2.qq519.com";

    dArr[3]="m3.qq519.com";

    dArr[4]="m2.we6688.net";

    dArr[5]="m3.we6688.net";

    dArr[6]="m5.we6688.net";

    dArr[7]="m6.we6688.net";

</script>
<script language="javascript" src="../../js/connect_game.js?ver=0209"></script><iframe id="mainFrame" name="mainFrame" width="1100" height="900" frameborder="1">
</iframe>


<div id="change_password_div">
    <div id="change_password_content_div"></div>
</div>

<div id="ad_modal" class="modal fade " role="dialog">
    <div id="modal_position" class="modal-dialog modal-sm" >
        <!-- Modal content-->
        <img  id="mobile_ad" class="modal-content" style="border-radius:10px;">
    </div>
</div>

<!--公告-->
<div id="LoginNewsModal" class="modal fade" role="dialog">
    <div class="modal-dialog" style="width:90%;height:100%;max-width:1100px;max-height:800px;">
        <!-- Modal content-->
        <div class="modal-content">
            <div class="modal-header" style="background-color:gainsboro">
                <button type="button" class="close" data-dismiss="modal">&times;</button>
                <h4 class="modal-title" id="LoginNewsTitle" align="center"></h4>
            </div>
            <div class="modal-body" id="LoginNewsContent">
                <iframe style="width:100%;height:100%;min-height: 350px;" frameborder="0" border="0" cellspacing="0"
                        id="LoginNewsiframe"></iframe>
            </div>
            <div class="modal-footer" style="align: center;">
                <button type="button" class="btn btn-default" data-dismiss="modal" >关闭</button>
            </div>
        </div>
    </div>
</div>
</body>
</html>